AUTOMAKE_OPTIONS = dejagnu

SUBDIRS = src data po

RUNTESTDEFAULTFLAGS = --tool style --srcdir $srcdir/testsuite

EXTRA_DIST = AUTHORS ChangeLog NEWS README COPYING COPYING-DOCS\
             autogen.sh src/florence.server.in.in

if WITH_DOCS
   SUBDIRS += docs
   EXTRA_DIST += gnome-doc-utils.make
endif

deb:
	debuild -us -uc -b
	mv ../florence-ramble_*.deb .

clean:
	@for i in $(SUBDIRS); do \
	echo "Clearing in $$i..."; \
	(cd $$i; $(MAKE) clean); done
	rm -f  data/florence.desktop	
	rm -fr debian/tmp
	rm -fr debian/files
	rm -fr debian/florence-ramble
	rm -f  debian/debhelper.log
	rm -fr debian/substvars

